<?php

define('Acache_no','1');
class Con_index extends Acan{
	
	public $defaultAct='abody';
	public $Conread = '首页';
	public $Actread = array('abody'=>'框架','index'=>'首页');
	function __construct($ainfo=null){
		parent::__construct($ainfo=null);
	}
	//后台框架
	function Act_abody(){
		$this->atitle = 'OA系统';
		$anav_data = Afunc_nav()->anav_data('oa',$this->Amode,$this->Aapp);//获取菜单
		if($this->Amode == '0'){$if_start = $this->Aapp.'-';}else{$if_start='';}
		$default_url = $if_start.'index-index';
		include $this->Atpl('public/abody');
	}
	//后台首页
	function Act_index(){
		$user = Afun_db()->model(Acan_table_user)->findPk($this->_SS['uid']);
		include $this->Atpl();
	}
}

?>